package main

import (
	_"gomicro/studentMicro/webServer/dao"
	_ "github.com/micro/go-plugins/broker/redis/v2"
	_"gomicro/studentMicro/webServer/mainHandler"
	_"gomicro/studentMicro/webServer/callHandler"
)

func main() {

	// //创建一个新的服务对象实例
	// service := micro.NewService(
	// 	micro.Name("student_micro_service"),
	// 	micro.Version("v1.18.0"),
	// 	micro.Registry(etcdv3.NewRegistry()),
	// )

	// //服务初始化
	// service.Init()

	// pubSub = service.Server().Options().Broker
	// if err := pubSub.Connect(); err != nil {
	// 	log.Fatal(" broker connect failed , error is : %v\n", err)
	// }

	// //注册
	// hs := handler.StudentHandlerCuda{
	// 	Tag :strconv.Itoa(rand.Int()),
	// }
	// webMessage.RegisterStudentServiceHandler(service.Server(), &hs)  //new(handler.StudentHandlerCuda)

	// //运行
	// err := service.Run()
	// if err != nil {
	// 	log.Fatal(err)
	// }

	
}